package com.itheima.service.impl;

import com.itheima.service.UserService;

public class UserServiceImpl implements UserService {

    public void save() {

        //原始功能执行前执行的通用功能
        //System.out.println("before");
        //原始功能
        System.out.println("account service running...");
    }

    public void update() {
        //原始功能
        System.out.println("account service running...");
        int i=1/0;
    }

    public int delete(int a, int b) {
        return a+b;
    }
}
